From c8e5d3b07b7f1d658ee7737c1726d2ab97b9ea28 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 17 Nov 2010 01:38:40 -0500 Subject: [PATCH] Transform the 'menu' detail string to the 'popup' class --- gtk/gtkstyle.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 8981613a67..4acab1b4e3 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1793,6 +1793,11 @@ transform_detail_string (const gchar *detail, gtk_style_context_add_class (context, "menuitem"); gtk_style_context_add_class (context, "menu"); } + else if (strcmp (detail, "menu") == 0) + { + gtk_style_context_add_class (context, "popup"); + gtk_style_context_add_class (context, "menu"); + } else if (strcmp (detail, "accellabel") == 0) gtk_style_context_add_class (context, "accelerator"); else if (strcmp (detail, "menubar") == 0) -- 2.30.2